class OrderImg {
  String _address;
  String _oid;
  String _remake;
  String _uuid;
  String _imgType;

  OrderImg(
      {String address,
        String oid,
        String remake,
        String uuid,
        String imgType}) {
    this._address = address;
    this._oid = oid;
    this._remake = remake;
    this._uuid = uuid;
    this._imgType = imgType;
  }

  String get address => _address;
  set address(String address) => _address = address;
  String get oid => _oid;
  set oid(String oid) => _oid = oid;
  String get remake => _remake;
  set remake(String remake) => _remake = remake;
  String get uuid => _uuid;
  set uuid(String uuid) => _uuid = uuid;
  String get imgType => _imgType;
  set imgType(String imgType) => _imgType = imgType;

  OrderImg.fromJson(Map<String, dynamic> json) {
    _address = json['address'];
    _oid = json['oid'];
    _remake = json['remake'];
    _uuid = json['uuid'];
    _imgType = json['imgType'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['address'] = this._address;
    data['oid'] = this._oid;
    data['remake'] = this._remake;
    data['uuid'] = this._uuid;
    data['imgType'] = this._imgType;
    return data;
  }
}
